package com.atguigu.gulimall.ware.dao;

import com.atguigu.gulimall.ware.entity.WareSkuEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * 商品库存
 *
 * @author HX
 * @email 1624242879@qq.com
 * @date 2021-01-17 21:59:39
 */
@Mapper
public interface WareSkuDao extends BaseMapper<WareSkuEntity> {
    //批量查询是否有库存
    Long hasStock(@Param("item") Long item);
}
